package com.atguigu.springcloud.service;


import org.springframework.stereotype.Component;

@Component
public class PaymentServiceImpl implements PaymentService {

    @Override
    public String getOk(Integer id) {
        return "服务端掉线啦！！！！！！getOk  本地fallback！！！";
    }

    @Override
    public String hystrixerror(Integer id) {
        return "服务端掉线啦！！！！！！ hystrixerror 本地fallback！！！";
    }
}
